LCD displaying funny characters when turning on the fan |
您所在的位置:网站首页 › arduino 1602显示屏 › LCD displaying funny characters when turning on the fan |
Hi. I am constructing Greenhouse Automation with Arduino (mega). The project is nearly complete. Main part of the project is the control unit where I have Arduino, PCB (before breadboard), LCD 16x2, breadboard power supply and 5v relays. This unit is connected to sensors dht11 and 2 soil moisture sensors. Relays will be controlling 4 circuits: Soil moisture 1 - 12V DC relay 1 (water). Soil moisture 2 - 12V DC relay 2 (water). Temperature - 12V DC linear actuator (windows opening). Humidity - 230V AC Fan. 12V will be coming from 12 V DC power supply and 230V from mains.I tested my control unit several times without connecting it to the greenhouse and actuators. Required relays are activated when needed, depending from temperature, etc.. Generally no issues. Today I mounted the unit in greenhouse and tested again without connecting the fan, solenoids, or actuator. Still the same - everything works fine. Now the problem is: I turned on and off the fan (230V) using switch on a fused spur (13A) which is in the same mains radial circuit as sockets where breadboard power supply for my unit is connected. When I turn off this fan, LCD starts to display strange characters, like there was some power interference (I don't know how to name this anomaly). Then, I turn Arduino quickly off. It happens most of times when I turn the fan off but it happened also once when I turned it on. Does anybody knows what is causing it? Is LCD (16x2) so sensitive to power fluctuations or what? Fan is from Amazon (likely Chinese -38W) but as I say it is still not even connected to relays. Thanks very much for help. |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |